package com.bocweb.fly.jiaodao.activitys.my;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.bocweb.fly.jiaodao.R;
import com.github.mzule.activityrouter.annotation.Router;
import com.milk.base.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * 个人详情
 */
@Router("mineDetails")
public class MineDetailsAct extends BaseActivity {


    @Bind(R.id.title)
    TextView title;
    @Bind(R.id.title_right_toolbar)
    ImageView titleRightToolbar;
    @Bind(R.id.toolbar)
    Toolbar toolbar;
    @Bind(R.id.activity_mine_details)
    LinearLayout activityMineDetails;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_mine_details;
    }

    @Override
    public void initData() {
        super.initData();
        toolbar.setNavigationIcon(R.mipmap.back);
        title.setText("详情");
        toolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }

    @Override
    protected boolean isApplyStatusBarTranslucency() {
        return false;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }
}
